package gov.ccswj.modules.ccbusiness.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import gov.ccswj.modules.ccbusiness.dao.CBeperformedinfoDao;
import gov.ccswj.modules.ccbusiness.entity.CBeperformedinfoEntity;
import gov.ccswj.modules.ccbusiness.service.CBeperformedinfoService;



@Service("cBeperformedinfoService")
public class CBeperformedinfoServiceImpl implements CBeperformedinfoService {
	@Autowired
	private CBeperformedinfoDao cBeperformedinfoDao;
	
	@Override
	public CBeperformedinfoEntity queryObject(Integer id){
		return cBeperformedinfoDao.queryObject(id);
	}
	
	@Override
	public List<CBeperformedinfoEntity> queryList(Map<String, Object> map){
		return cBeperformedinfoDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return cBeperformedinfoDao.queryTotal(map);
	}
	
	@Override
	public void save(CBeperformedinfoEntity cBeperformedinfo){
		cBeperformedinfoDao.save(cBeperformedinfo);
	}
	
	@Override
	public void update(CBeperformedinfoEntity cBeperformedinfo){
		cBeperformedinfoDao.update(cBeperformedinfo);
	}
	
	@Override
	public void delete(Integer id){
		cBeperformedinfoDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		cBeperformedinfoDao.deleteBatch(ids);
	}

	@Override
	public void deleteByname(String entname) {
		cBeperformedinfoDao.deleteByname(entname);
		
	}
	
}
